package com.vogue.supplymall.cross.domain.dao;

import com.vogue.supplymall.common.domain.dto.admin.OrganManagementInfo;
import com.vogue.supplymall.common.domain.dto.admin.ShopSearchInfo;

import java.util.List;
import java.util.Map;

/**
 * The interface Open shop dao.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-05-15
 */
public interface AdminManagementDao extends BaseDao<List, Long> {

    /**
     * Find not open shop list.
     *
     * @param shopSearchInfo the shop search info
     * @return the list
     */
    List<Map<String, Object>> findNotOpenShop(ShopSearchInfo shopSearchInfo);


    /**
     * Find not open shop long.
     *
     * @param shopSearchInfo the shop search info
     * @return the long
     */
    Long findNotOpenShopCount(ShopSearchInfo shopSearchInfo);

    /**
     * Find opened organ list.
     *
     * @param info the info
     * @return the list
     */
    List<Map<String, Object>> findOpenedOrgan(OrganManagementInfo info);

    /**
     * Find opened organ list.
     *
     * @param info the info
     * @return the list
     */
    Long findOpenedOrganCount(OrganManagementInfo info);
}
